package com.aqgj.Organization.bean;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import com.aqgj.util.BaseEntity;
import org.hibernate.annotations.GenericGenerator;

@Entity
@Table(name = "organization")
public class Organization implements BaseEntity {

    private String id;//ä¸»é”®id

    private String name;//ç»„ç»‡å��

    private String address;//åœ°å�€

    private String icon;//å›¾æ ‡

    private String pid;//çˆ¶çº§ä¸»é”®

    private Integer seq;//æŽ’åº�

    private java.util.Date createTime;//åˆ›å»ºæ—¶é—´

    public void setId(String value){
        this.id = value;
    }
    public void setName(String value){
        this.name = value;
    }
    public void setAddress(String value){
        this.address = value;
    }
    public void setIcon(String value){
        this.icon = value;
    }
    public void setPid(String value){
        this.pid = value;
    }
    public void setSeq(Integer value){
        this.seq = value;
    }
    public void setCreateTime(java.util.Date value){
        this.createTime = value;
    }
    @Id
    @GeneratedValue(generator = "system-uuid")
    @GenericGenerator(name = "system-uuid", strategy = "uuid")
    @Column(name ="id",unique=true,nullable=false,insertable=true,updatable=true,length=32)
    public String getId(){
        return this.id;
    }
    @Column(name ="name",unique=false,nullable=false,insertable=true,updatable=true,length=64)
    public String getName(){
        return this.name;
    }
    @Column(name ="address",unique=false,nullable=true,insertable=true,updatable=true,length=100)
    public String getAddress(){
        return this.address;
    }
    @Column(name ="icon",unique=false,nullable=true,insertable=true,updatable=true,length=32)
    public String getIcon(){
        return this.icon;
    }
    @Column(name ="pid",unique=false,nullable=true,insertable=true,updatable=true,length=32)
    public String getPid(){
        return this.pid;
    }
    @Column(name ="seq",unique=false,nullable=false,insertable=true,updatable=true,length=3)
    public Integer getSeq(){
        return this.seq;
    }
    @Column(name ="create_time",unique=false,nullable=false,insertable=true,updatable=false,length=0)
    public java.util.Date getCreateTime(){
        return this.createTime;
    }


} 
